package edu.sctu.practice.class02.qiuyangyang.lecture09;

/**
 * Created by Administrator on 2015/11/5.
 */
public class JavaLearning extends Learning {
    @Override
    public void log() {
        System.out.println("Open computer.");
    }

    @Override
    public void learn() {
        System.out.println("Learning Java.");
    }

    @Override
    public void shutDown() {
        System.out.println("Close computer");
    }
    public void process(){
        log();
        learn();
        shutDown();
    }
}
